package io.demo.builderss;

/**
 * @author create by zhangpengfei at 2021/9/29 18:07
 */

public class Belt extends JacketAccessories{

    Clothes clothes;

    public Belt(Clothes clothes) {
        this.clothes = clothes;
        desc = clothes.desc + ", Belt";
    }

    @Override
    public double cost() {
        return clothes.cost() + 99;
    }
}
